# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import ValidationError

class EmpLeavebatchdetail(models.Model):
    _name = 'emp.leavebatchdetail'

    leave_batch_id = fields.Many2one(comodel_name='emp.leavebatch')

    formno = fields.Char('請假單號')
    vstart = fields.Datetime('請假起日')
    vend = fields.Datetime('請假迄日')
    vdays = fields.Char('請假天數')
    vhours = fields.Char('請假時數')